package com.molichuxing.services.infrastructure.dao;

import java.time.LocalDateTime;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.molichuxing.framework.dao.RootMapper;
import com.molichuxing.services.infrastructure.bean.FaceRecognitionBean;

/**
 * <p>
 * 人脸识别表 Mapper 接口
 * </p>
 *
 * @author liyg
 * @since 2019-08-14
 */
public interface FaceRecognitionMapper extends RootMapper<FaceRecognitionBean> {

	/**
	 * 根据用户身份证号查询记录列表
	 * 
	 * @param idNumber
	 * @return
	 */
	List<FaceRecognitionBean> getListByUserId(@Param("idNumber") String idNumber);

	/**
	 * 查询验证结果
	 * @param idNumber
	 * @param verifyTime
	 * @return
	 */
	List<FaceRecognitionBean> getVerifyResult(@Param("idNumber") String idNumber,@Param("verifyTime") LocalDateTime verifyTime);

}
